gtkscrollbar: Move documentation to inline comments
authorJavier Jardón <jjardon@gnome.org>
Fri, 22 Oct 2010 20:41:55 +0000 (22:41 +0200)
committerJavier Jardón <jjardon@gnome.org>
Fri, 22 Oct 2010 22:31:37 +0000 (00:31 +0200)
docs/reference/gtk/tmpl/.gitignore
docs/reference/gtk/tmpl/gtkscrollbar.sgml [deleted file]
gtk/gtkscrollbar.c

index b1a29e63ae616ee368c35c270c87fc5a4e4fd63a..1f16d5c8203b5c3a7f04f831c38dcff5e4ac94cc 100644 (file)
@@ -36,6 +36,7 @@ gtkrecentchooserwidget.sgml
 gtkrecentmanager.sgml
 gtkscale.sgml
 gtkscalebutton.sgml
+gtkscrollbar.sgml
 gtkscrolledwindow.sgml
 gtkseparator.sgml
 gtkseparatormenuitem.sgml
diff --git a/docs/reference/gtk/tmpl/gtkscrollbar.sgml b/docs/reference/gtk/tmpl/gtkscrollbar.sgml
deleted file mode 100644 (file)
index 9df6683..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-<!-- ##### SECTION Title ##### -->
-GtkScrollbar
-
-<!-- ##### SECTION Short_Description ##### -->
-Base class for GtkHScrollbar and GtkVScrollbar
-
-<!-- ##### SECTION Long_Description ##### -->
-<para>
-The #GtkScrollbar widget is the base class for #GtkHScrollbar and
-#GtkVScrollbar. It can be used in the same way as these, by setting
-the "orientation" property appropriately.
-</para>
-
-<para>
-The position of the thumb in a scrollbar is controlled by the scroll
-adjustments. See #GtkAdjustment for the fields in an adjustment - for
-#GtkScrollbar, the "value" field represents the position of the
-scrollbar, which must be between the "lower" field and "upper -
-page_size." The "page_size" field represents the size of the visible
-scrollable area. The "step_increment" and "page_increment" fields are
-used when the user asks to step down (using the small stepper arrows)
-or page down (using for example the PageDown key).
-</para>
-
-<!-- ##### SECTION See_Also ##### -->
-<para>
-<variablelist>
-
-<varlistentry>
-<term>#GtkHScrollbar</term>
-<listitem><para>a horizontal scrollbar.</para></listitem>
-</varlistentry>
-
-<varlistentry>
-<term>#GtkVScrollbar</term>
-<listitem><para>a vertical scrollbar.</para></listitem>
-</varlistentry>
-
-<varlistentry>
-<term>#GtkAdjustment</term>
-<listitem><para>connects scrollbars to the widget being scrolled.</para></listitem>
-</varlistentry>
-
-<varlistentry>
-<term>#GtkScrolledWindow</term>
-<listitem><para>convenient widget for setting up scrolling.</para></listitem>
-</varlistentry>
-
-</variablelist>
-</para>
-
-<!-- ##### SECTION Stability_Level ##### -->
-
-
-<!-- ##### SECTION Image ##### -->
-
-
-<!-- ##### STRUCT GtkScrollbar ##### -->
-<para>
-The #GtkScrollbar struct does not contain any public data.
-</para>
-
-
-<!-- ##### ARG GtkScrollbar:fixed-slider-length ##### -->
-<para>
-
-</para>
-
-<!-- ##### ARG GtkScrollbar:has-backward-stepper ##### -->
-<para>
-
-</para>
-
-<!-- ##### ARG GtkScrollbar:has-forward-stepper ##### -->
-<para>
-
-</para>
-
-<!-- ##### ARG GtkScrollbar:has-secondary-backward-stepper ##### -->
-<para>
-
-</para>
-
-<!-- ##### ARG GtkScrollbar:has-secondary-forward-stepper ##### -->
-<para>
-
-</para>
-
-<!-- ##### ARG GtkScrollbar:min-slider-length ##### -->
-<para>
-
-</para>
-
-<!-- ##### FUNCTION gtk_scrollbar_new ##### -->
-<para>
-
-</para>
-
-@orientation: 
-@adjustment: 
-@Returns: 
-
-
index ce41a231bd9bd3a3be9ee051446e564df1a83d6c..d04ed7c387bc6cbb83e4e710c71bf74f37772ed7 100644 (file)
 #include "gtkintl.h"
 #include "gtkprivate.h"
 
+
+/**
+ * SECTION:gtkscrollbar
+ * @Short_description: Base class for GtkHScrollbar and GtkVScrollbar
+ * @Title: GtkScrollbar
+ * @See_also: #GtkHScrollbar, #GtkVScrollbar, #GtkAdjustment,
+ *   #GtkScrolledWindow
+ *
+ * The #GtkScrollbar widget is the base class for #GtkHScrollbar and
+ * #GtkVScrollbar. It can be used in the same way as these, by setting
+ * the "orientation" property appropriately.
+ *
+ * The position of the thumb in a scrollbar is controlled by the scroll
+ * adjustments. See #GtkAdjustment for the fields in an adjustment - for
+ * #GtkScrollbar, the #GtkAdjustment.value field represents the position
+ * of the scrollbar, which must be between the #GtkAdjustment.lower field
+ * and #GtkAdjustment.upper - #GtkAdjustment.page_size. The
+ * #GtkAdjustment.page_size field represents the size of the visible
+ * scrollable area. The #GtkAdjustment.step_increment and
+ * #GtkAdjustment.page_increment fields are used when the user asks to
+ * step down (using the small stepper arrows) or page down (using for
+ * example the <keycap>PageDown</keycap> key).
+ */
+
+
 static void gtk_scrollbar_style_set (GtkWidget *widget,
                                      GtkStyle  *previous);